Preoperative spirometry